/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package knowledgebase.dao;

import java.util.List;
import knowledgebase.model.Document;
import knowledgebase.model.DocumentBlock;

/**
 *
 * @author yzaretskyy
 */
public interface DocumentBlockDAO {
    public DocumentBlock getDocumentBlock(String id);
    public void saveOrUpdateDocumentBlock(DocumentBlock block);
    public void removeDocumentBlockById(String id);
    public List<DocumentBlock> getDocumentBlocksByDocumentId(Document document);
}
